package com.tongcao.cn.oauth.service;

import com.tongcao.cn.dfire.result.Result;
import com.tongcao.cn.oauth.client.IJumpClient;
import com.tongcao.cn.oauth.request.JumpRequest;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author:tongcao
 * @since:2019/11/22 15:34
 * Description:
 */
@Service
public class JumpService implements IJumpService {

    @Resource
    private IJumpClient client;

    @Override
    public <T> Result<T> execute(JumpRequest<T> request) {
        return client.execute(request);
    }
}